﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Model = Auto.Data.BusMan.Model;
using Auto.Data.BusMan.DALFactory;
using Auto.Data.BusMan.IDAL;
using Auto.Data.DBUtility;  //Please Add Reference First
namespace Auto.Data.BusMan.BLL
{
    public class BusAccidentProcess
    {
        private readonly IBusAccidentProcess dal = DataAccess<IBusAccidentProcess>.CreateDALInstance("BusAccidentProcess");

                /// <sumary> 
        /// Constructed Function 
        /// </sumary> 
        public BusAccidentProcess()
        {
        }
        /// <sumary> 
        /// Get Data List 
        /// </sumary> 
        ///<param name="refDocID">Ref DocID from BusAccident.DocID</param>
        /// <returns>DataTable</returns> 
        public DataTable GetListByRefDocID(string refDocID)
        {
            return dal.GetListByRefDocID(refDocID);
        }
    }
}
